package model;

public class Sum {
	private int a;
	private float b;
	protected double c;
	protected double arrNum[];
	
	public Sum() {
		a = 0;
		b = 0;
		c = 0.0;
		arrNum = null;
	}
	
	public Sum(int num1, float num2, double num3) {
		a = num1;
		b = num2;
		c = num3;
		arrNum = new double[getNumSide()];
	}
	
	public int getNumSide() {
		return a;
	}
	
	public void setNumSide(int a) {
		this.a = a;
	}
	
	public void init() {
		for(int i = 0; i <arrSide.length; i++) {
			arrNum[i] = Math.random();
		}
	}
	
	public double getSum() {
		double d = a + b + c;
		for(int i = 0; i < arrSide.length; i++){
			d += i;
		}
	}

}
